home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 5
/
The 640 Meg Shareware Studio CD-ROM Volume V (Data Express)(1994).ISO
/
amiga
/
ssaccess.lha
/
SSAccess.doc
< prev
Wrap
Text File
|
1994-04-12
|
3KB
|
86 lines
SSAccess for Serial Server 2.25 by The Mad Scientist
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Serial Server is copyright (c) by Mike Mossman. Special thanks to Mike
for writing Serial Server in the first place, and for adding all the
stuff I asked for. Great program Mike!
SSAccess is the first 3rd party utility for use with the new Serial
Server V2.25 (or greater). Now that Serial Server supports more levels
and interactive commands, it is possible to write useful external
commands for it (you could even go as far as to write a complete command
driven BBS system that uses the Serial Server remote shell). So, dust
off your C compilers out there!
With older versions of Serial Server, there were only 2 levels of access
(plus the sysop). It was easy to make a simple help file to show users
what commands and devices they had access to.
But since Serial Server 2.25 has 25 levels of access (plus the sysop),
the help file could become a real nightmare.
That is where SSAccess comes in. It will give the user a list of what
commands and devices they may use, and tell them whether command line
options are allowed, and whether the command will run in interactive
mode or not (see your Serial Server 2.25 docs). You can simplify your help
file to simply tell them any important commands (like access) they should
know about and how to get help on other commands (I use aliases like
MAN and TOPICS, see below).
You may use SSAccess two ways:
Online
~~~~~~
To set this up, do the following:
[1] Copy SSAccess to SSBBS:
[2] Add the line ALIAS ACCESS SSBBS:SSACCESS to your script file that
Serial Server runs when started.
You can do a lot of neat things with aliases in the startup script,
I use:
ALIAS MAN TYPE SSBBS:MAN/[]
to allow users to read help files on commands, and
ALIAS TOPICS DIR SSBBS:MAN
to give users a list of available topics. Of course, the user
must have access to the MAN and TOPICS commands, and you will
have to create the help files in SSBBS:MAN/
[3] Add ACCESS as a command to your config, with all users allowed
access to it (level a). Do not allows command line options or
interactivity (set these to level z).
[4] Put a line something like:
Type ACCESS for a list of commands you may use
in your help file.
You are done. It is online. Serial Server 2.25 writes environment variables
with the user's name and level, and this is what SSAccess reads to get
the info about the user. So, YOU MUST HAVE ENV: ASSIGNED to use SSAccess
(you should have it assigned anyway, of course).
Offline
~~~~~~~
If you want to quickly check what levels have access to what commands from
the CLI without using the Sysop module, at any CLI type:
SSBBS:SSACCESS <level>
where level is between a and z (note: levels are always lower case).
Also, if a user is online in Serial Server, just type
SSBBS:SSACCESS
to see who they are and what they can do.
That's all folks!